package cn.edu.scau.dormitory_management_system.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;


/**
 * @author whj
 */
@Data
@TableName("tb_role_permission")
public class RolePermissionEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 权限id
     */
    private int permissionId;
    /**
     * 角色id
     */
    private int roleId;
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 创建人
     */
    private String createBy;
}
